package com.seata;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * ShardingApplication
 *
 * @author grl
 * @date 2024/1/31
 */
@Slf4j
@EnableFeignClients
@SpringBootApplication
@EnableDiscoveryClient
//@EnableTransactionManagement
@MapperScan(basePackages = {"com.seata.mapper"})
public class SeataCloudApplication {
    public static void main(String[] args) {
        SpringApplication.run(SeataCloudApplication.class,args);
    }
}
